/*
 *		desc: 	
 *  	Created on: 2016年5月26日
 *    Author: sop
 */
#include "NavRunContext.h"
#include "NFComm/NFPluginModule/NFLogMgr.h"

/// Logs a message.
///  @param[in]		category	The category of the message.
///  @param[in]		msg			The formatted message.
///  @param[in]		len			The length of the formatted message.
void CNavRunContext::doLog(const rcLogCategory category, const char* msg, const int len)
{
	if( category == RC_LOG_PROGRESS )
	{
		LOGSVR_INFO("[NavMesh]: " << msg);
	}
	else if( category == RC_LOG_WARNING )
	{
		LOGSVR_WARN("[NavMesh]: " << msg);
	}
	else if( category == RC_LOG_ERROR )
	{
		LOGSVR_ERROR("[NavMesh]: " << msg);
	}
}

